Optimal. Leaf size=76 \[ -\frac {(a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}{5 a x^5}+\frac {b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}{20 a^2 x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {660, 47, 37}
\begin {gather*} \frac {b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}{20 a^2 x^4}-\frac {(a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}{5 a x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rule 660
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x+b^2 x^2\right )^{3/2}}{x^6} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \frac {\left (a b+b^2 x\right )^3}{x^6} \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=-\frac {(a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}{5 a x^5}-\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \frac {\left (a b+b^2 x\right )^3}{x^5} \, dx}{5 a b \left (a b+b^2 x\right )}\\ &=-\frac {(a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}{5 a x^5}+\frac {b (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}{20 a^2 x^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 55, normalized size = 0.72 \begin {gather*} -\frac {\sqrt {(a+b x)^2} \left (4 a^3+15 a^2 b x+20 a b^2 x^2+10 b^3 x^3\right )}{20 x^5 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.48, size = 52, normalized size = 0.68
method | result | size |
risch | \(\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (-\frac {1}{2} b^{3} x^{3}-a \,b^{2} x^{2}-\frac {3}{4} a^{2} b x -\frac {1}{5} a^{3}\right )}{\left (b x +a \right ) x^{5}}\) | \(51\) |
gosper | \(-\frac {\left (10 b^{3} x^{3}+20 a \,b^{2} x^{2}+15 a^{2} b x +4 a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{20 \left (b x +a \right )^{3} x^{5}}\) | \(52\) |
default | \(-\frac {\left (10 b^{3} x^{3}+20 a \,b^{2} x^{2}+15 a^{2} b x +4 a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{20 \left (b x +a \right )^{3} x^{5}}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 167 vs.
\(2 (50) = 100\).
time = 0.29, size = 167, normalized size = 2.20 \begin {gather*} -\frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} b^{5}}{4 \, a^{5}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} b^{4}}{4 \, a^{4} x} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b^{3}}{4 \, a^{5} x^{2}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b^{2}}{4 \, a^{4} x^{3}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b}{4 \, a^{3} x^{4}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}}}{5 \, a^{2} x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.39, size = 35, normalized size = 0.46 \begin {gather*} -\frac {10 \, b^{3} x^{3} + 20 \, a b^{2} x^{2} + 15 \, a^{2} b x + 4 \, a^{3}}{20 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}}{x^{6}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.51, size = 74, normalized size = 0.97 \begin {gather*} \frac {b^{5} \mathrm {sgn}\left (b x + a\right )}{20 \, a^{2}} - \frac {10 \, b^{3} x^{3} \mathrm {sgn}\left (b x + a\right ) + 20 \, a b^{2} x^{2} \mathrm {sgn}\left (b x + a\right ) + 15 \, a^{2} b x \mathrm {sgn}\left (b x + a\right ) + 4 \, a^{3} \mathrm {sgn}\left (b x + a\right )}{20 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.19, size = 135, normalized size = 1.78 \begin {gather*} -\frac {a^3\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{5\,x^5\,\left (a+b\,x\right )}-\frac {b^3\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{2\,x^2\,\left (a+b\,x\right )}-\frac {a\,b^2\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{x^3\,\left (a+b\,x\right )}-\frac {3\,a^2\,b\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{4\,x^4\,\left (a+b\,x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________